package com.mes.cloud.api.dto.request;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;

/**
 * 数据集成监控
 * 
 * @author xy
 * @version 2019-11-05 11:33:00
 * @email yuan.xue3@pactera.com
 */
@Data
public class ESDataIntegrateMonitorPageListRequest implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "当前页", required = true)
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    private int pageSize;

    @ApiModelProperty(value = "排序", required = false)
    private String orderBy;

    @ApiModelProperty(value = "主键", required = false)
    private String id;

    @ApiModelProperty(value = "类型 参考字典值", required = false)
    private String type;

    @ApiModelProperty(value = "开始时间", required = false)
    private Date beginTime;

    @ApiModelProperty(value = "结束时间", required = false)
    private Date endTime;

    @ApiModelProperty(value = "状态(0.初始状态 1.一般(成功) 2.失败(警告))", required = false)
    private String status;

    @ApiModelProperty(value = "创建时间", required = false)
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createTime;


}
